package com.luyuan.crm.task;

import java.util.List;

import com.luyuan.crm.member.model.Customer;
import com.luyuan.crm.user.Party;
import com.ruijie.foundation.query.Page;
import com.ruijie.foundation.query.criteria.CriteriaTemplate;

public interface TaskDailyService {
    TaskDaily getTaskDailyById(String id);

    void createTaskDaily(TaskDaily taskDaily);

    void cancelTaskDaily(TaskDaily taskDaily);

    void excuteTaskDaily(TaskDaily taskDaily);

    void updateTaskDaily(TaskDaily taskDaily);

    /** 
     * 指修改任务执行人
     */
    void updateTaskDailyParty(Customer customer, Party party);

    /**
     * <p>Description: 清楚过期日志             </p>
     * <p>Create Time: 2013-4-27   </p>
     * @author Administrator
     */
    void clearTaskDaily();

    /*
     * 分页查询
     */
    public Page pagedQuery(CriteriaTemplate criteria, int pageNo, int pageSize,
            List<org.hibernate.criterion.Order> orders);

}
